package Messages;

/**
 *  Class(type message) that get user name for sending it to client as answer to check of exist of user in DB .
 *  
 */
public class MessageCheckExistsEmpForClockInOutReply extends Message{
	
	private String userName;
	private String userId;
	private int userPermission;
	
	public  MessageCheckExistsEmpForClockInOutReply(String name,String userId,int permission)
	{
		super(Message.MessageType.MESSAGE_CHECK_EXISTS_EMPLOYEE_FOR_CLOCK_IN_OUT_REPLY);
		this.userName=name;
		this.userId=userId;
		this.userPermission=permission;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public int getUserPermission() {
		return userPermission;
	}

	public void setUserPermission(int userPermission) {
		this.userPermission = userPermission;
	}

}
